﻿Public Class clsProdSpec
    Public Function SelectProdSpec(prod_id As String) As DataTable
        Dim szSql As String = ""
        szSql &= "select * from sf.t_prod_spec where prod_spec_id = ? or prod_spec_name = ?  "
        Dim dt As DataTable = DBacs.ExecuteSql(szSql, -1, prod_id, prod_id)
        If IsNothing(dt) Then
            SelectProdSpec = New DataTable
        Else
            SelectProdSpec = dt
        End If
    End Function
End Class
